package view;

import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Modality;

import java.io.IOException;
/**
 * @author
 */
public class Register extends AbstractWindow {
    
    public Register() throws IOException {
        setIcon();
        this.startWindow();

    }


    @Override
    public void startWindow() throws IOException {
        root = FXMLLoader.load(getClass().getResource("fxml/registerView.fxml"));
        setTitle("AChat");
        setScene(new Scene(root));
        //move();
        initModality(Modality.APPLICATION_MODAL);
        show();
    }
}
